package com.tao.graduation.Dao;

import com.tao.graduation.Pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface LoginDao {
    public User Login(@Param("username") String username, @Param("password") String password);
    public int Register(User user);

    User queryUserId(String username);

    int insertUserId(Integer id,String name);
}
